package com.nf.dbutils;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;

public interface RowProcessor {
    Object[] toArray(ResultSet rs)throws SQLException;

    Map<String,Object> toMap(ResultSet rs)throws SQLException;

    <T> T toBean(ResultSet rs,Class<?> clz)throws SQLException;

    @Deprecated
    <T> T toBeanDeprecated(ResultSet rs,Class<?> clz)throws SQLException;
}
